package com.jn.rxjavaretrofit_demo0802;

import java.util.List;

public class WeatherResponse {
    private int code;
    private Result result;
    private String msg;

    public static class Result {
        private String city_name;
        private String current_condition;
        private double current_temperature;
        private long current_time;
        private String tips;
        private List<Forecast> forecast_list;

        public static class Forecast {
            public String getCondition() {
                return condition;
            }

            public void setCondition(String condition) {
                this.condition = condition;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getHigh_temperature() {
                return high_temperature;
            }

            public void setHigh_temperature(String high_temperature) {
                this.high_temperature = high_temperature;
            }

            public String getLow_temperature() {
                return low_temperature;
            }

            public void setLow_temperature(String low_temperature) {
                this.low_temperature = low_temperature;
            }

            public String getWeather_icon_id() {
                return weather_icon_id;
            }

            public void setWeather_icon_id(String weather_icon_id) {
                this.weather_icon_id = weather_icon_id;
            }

            public String getWind_direction() {
                return wind_direction;
            }

            public void setWind_direction(String wind_direction) {
                this.wind_direction = wind_direction;
            }

            public String getWind_level() {
                return wind_level;
            }

            public void setWind_level(String wind_level) {
                this.wind_level = wind_level;
            }

            private String condition;
            private String date;
            private String high_temperature;
            private String low_temperature;
            private String weather_icon_id;
            private String wind_direction;
            private String wind_level;
        }

        public String getCity_name() {
            return city_name;
        }

        public void setCity_name(String city_name) {
            this.city_name = city_name;
        }

        public String getCurrent_condition() {
            return current_condition;
        }

        public void setCurrent_condition(String current_condition) {
            this.current_condition = current_condition;
        }

        public double getCurrent_temperature() {
            return current_temperature;
        }

        public void setCurrent_temperature(double current_temperature) {
            this.current_temperature = current_temperature;
        }

        public long getCurrent_time() {
            return current_time;
        }

        public void setCurrent_time(long current_time) {
            this.current_time = current_time;
        }

        public String getTips() {
            return tips;
        }

        public void setTips(String tips) {
            this.tips = tips;
        }

        public List<Forecast> getForecast_list() {
            return forecast_list;
        }

        public void setForecast_list(List<Forecast> forecast_list) {
            this.forecast_list = forecast_list;
        }
// getters and setters
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
// getters and setters
}